package com.kob.backend.service.impl.product;

import com.kob.backend.mapper.ProductMapper;
import com.kob.backend.pojo.product;
import com.kob.backend.service.product.ProductInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ProductInfoServiceImpl implements ProductInfoService {
    @Autowired
    ProductMapper productMapper;
    @Override
    public List<product> getproductinfo() {
       return productMapper.selectList(null);
    }
}
